package com.falcon.modules.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.falcon.modules.domain.bo.UserSearchParam;
import com.falcon.modules.domain.dto.User;
import com.falcon.modules.mapper.UserMapper;
import com.falcon.modules.service.IUserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
    @Override
    public Page<User> selectUserPage(Page<User> page, UserSearchParam param) {
        return page.setRecords(baseMapper.list(page,param));
    }
}
